<?php

//
// The table header
//
$display = "<center><br />
<table class=\"fborder\" width=\"95%\">
    <tr>
        <td class=\"forumheader2\">
            <center><a href='admin_manage_orders.php?o=1'>".lan_admin_orders_pending_orders."</a></center>
        </td>
        <td class=\"forumheader2\">
            <center><a href='admin_manage_orders.php?o=2'>".lan_admin_orders_paid_orders."</a></center>
        </td>
        <td class=\"forumheader2\">
            <center><a href='admin_manage_orders.php?o=3'>".lan_admin_orders_complete_orders."</a></center>
        </td>
    </tr>
</table>";



//
// Search Box
//
$display .="<br /><center>
<table class=\"fborder\" width=\"95%\">
    <tr>
        <form action='".e_SELF."?o=4' method='POST'>
        <td class='forumheader2' colspan='3'>
                ".lan_global_search."
        </td>
    </tr>
    <tr>
    <td class='forumheader2' width='15%'>
        ".lan_global_filter.":
    </td>
    <td class='forumheader3' width='20%'>
        <select name='filter' class='tbox'>
            <option value='order_number'>".lan_admin_orders_number."</option>
            <option value='theuser'>".lan_admin_orders_user."</option>
            <option value='status'>".lan_global_status."</option>
            <option value='gateway'>".lan_admin_orders_gateway."</option>
        </select>
    </td>
    <td class='forumheader2'>
        <input type='text' name='search_term' class='tbox'>
        <input type='submit' value='".lan_global_search."' class='tbox' name='subb'>
    </td>
</tr>";

                    


$display.="</table>";

$ns->tablerender("<center>".lan_admin_menu_sales."</center>", $display);
